<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <jsp:include page="../include/public.jsp"></jsp:include>
    <jsp:include page="../include/easyui.jsp"></jsp:include>
</head>
<body class="easyui-layout" data-options="fit:true">

	<div style="width:100%;height:80px" data-options="region:'north',border:false">
	</div>
	
	<div style="width:273px;height:100%" data-options="region:'west',border:false,title:'导航菜单',split:true,minWidth:150,maxWidth:400">
	    <div class="easyui-accordion" data-options="border:false">
            <c:forEach items="${menuList}" var="menu">
	        <c:if test="${menu.parentId==null}">
            <div title="${menu.menuName}" style="overflow:auto;padding:10px;">
		        <ul class="nav">
		            <c:forEach items="${menuList}" var="childMenu">
		            <c:if test="${childMenu.parentId==menu.menuId}">
		            <li>
			            <a href="javascript:addTab('${childMenu.menuName}','${childMenu.href}','${childMenu.imgPath}')"><div style="padding-left:18px;background-position:left;font-size:13px;" class="${childMenu.imgPath}">${childMenu.menuName}</div></a>
                    </li>
		            </c:if>
		            </c:forEach>
                </ul>
            </div>
            </c:if>
	        </c:forEach>
        </div>
	</div>
	
	<div style="height:100%" data-options="region:'center',border:false">
	</div>	
</body>
</html>